home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Magazine / Morphos / GCC / ppc-amigaos / include / powerpc / memoryPPC.h next >
C/C++ Source or Header  |  2000-02-28  |  809b  |  35 lines

  1. #ifndef POWERPC_MEMORYPPC_H
  2. #define POWERPC_MEMORYPPC_H
  3.  
  4. /* additional memory flags for AllocVecPPC */
  5.  
  6. #ifndef EXEC_MEMORY_H
  7. #include <exec/memory.h>
  8. #endif
  9.  
  10. #define MEMB_WRITETHROUGH 20
  11. #define MEMB_COPYBACK     21
  12. #define MEMB_CACHEON      22
  13. #define MEMB_CACHEOFF     23
  14. #define MEMB_GUARDED      24
  15. #define MEMB_NOTGUARDED   25
  16. #define MEMB_BAT          26
  17. #define MEMB_PROTECT      27
  18. #define MEMB_WRITEPROTECT 28
  19.  
  20. #define MEMF_WRITETHROUGH (1L<<20)
  21. #define MEMF_COPYBACK     (1L<<21)
  22. #define MEMF_CACHEON      (1L<<22)
  23. #define MEMF_CACHEOFF     (1l<<23)
  24. #define MEMF_GUARDED      (1L<<24)
  25. #define MEMF_NOTGUARDED   (1L<<25)
  26. #define MEMF_BAT          (1L<<26)
  27. #define MEMF_PROTECT      (1L<<27)
  28. #define MEMF_WRITEPROTECT (1L<<28)
  29.  
  30. /* status returned by FreeVecPPC */
  31.  
  32. #define MEMERR_SUCCESS   0
  33.  
  34. #endif
  35.